package selef.xiafan.service;

import selef.xiafan.entity.Customer;
import selef.xiafan.entity.system.SysPermission;
import selef.xiafan.entity.user.User;
import selef.xiafan.query.CustomerQuery;
import selef.xiafan.util.result.PageResult;

import java.text.ParseException;
import java.util.List;

public interface ICustomerService {
    List<Customer> getAll();

    PageResult<Customer> getReturnList(CustomerQuery customerQuery);

    Integer register(Customer requestCustomer) throws ParseException;

    List<SysPermission> getCustomerMenus();

    PageResult getCustomerList(CustomerQuery customerQuery);

    Integer changeVip(Customer customer);

    Integer AddUpdate(Customer customer);

    void changePass(User user);
}
